package home.google.apps.client;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

@SuppressWarnings("serial")
@Entity
public class Entry implements Serializable{

	@Id
	private Long id;
	private String FullName;
    private String PhoneNumber;
    
	public Entry(String fullName, String phoneNumber) {
		FullName = fullName;
		PhoneNumber = phoneNumber;
	}
	
	public Entry() {
		super();
	}
		
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getFullName() {
		return FullName;
	}
	public void setFullName(String fullName) {
		FullName = fullName;
	}
	public String getPhoneNumber() {
		return PhoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		PhoneNumber = phoneNumber;
	}
	@Override
	public String toString() {
		return "Result:\n- Full Name : " + FullName + "\n- PhoneNumber : " + PhoneNumber;
	}
	
	
}
